package com.zhongwang.mms.gen.mapper;

import com.zhongwang.mms.gen.entity.MMaterialDictionary;
import com.zhongwang.mms.gen.entity.MMaterialDictionaryExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface MMaterialDictionaryMapper {
    long countByExample(MMaterialDictionaryExample example);

    int deleteByExample(MMaterialDictionaryExample example);

    int deleteByPrimaryKey(Integer mdId);

    int insert(MMaterialDictionary record);

    int insertSelective(MMaterialDictionary record);

    List<MMaterialDictionary> selectByExample(MMaterialDictionaryExample example);

    MMaterialDictionary selectByPrimaryKey(Integer mdId);

    int updateByExampleSelective(@Param("record") MMaterialDictionary record, @Param("example") MMaterialDictionaryExample example);

    int updateByExample(@Param("record") MMaterialDictionary record, @Param("example") MMaterialDictionaryExample example);

    int updateByPrimaryKeySelective(MMaterialDictionary record);

    int updateByPrimaryKey(MMaterialDictionary record);
}